﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="People.aspx.cs" Inherits="PeoplePage" Title="飞扬四方-师资介绍" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <!--

Title Under Menu

-->
    <body id="People">
        <div id="pagetitle">
            师资介绍</div>
        <div id="content-top-three-column">
        </div>
        <div id="content-container-three-column">
            <!--

  CONTENT SIDE 1 COLUMN

  -->
            <div id="content-side1-three-column">
                <ul class="list-of-links">
                    <li class="current">
                        <h5>
                            <a href="People.aspx">师资介绍</a></h5>
                    </li>
                    <li>
                        <h5>
                            <a href="About.aspx">人才引进</a></h5>
                    </li>
                    <li>
                        <h5>
                            <a href="Contact.aspx">联系我们</a></h5>
                    </li>
                </ul>
            </div>
            <!--

  CENTER COLUMN

  -->
            <div id="content-main-three-column">
                <h2>
                    师资简介</h2>
                <hr />
                <%--Data Source Controls--%>
                <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetAllPersons"
                    TypeName="People"></asp:ObjectDataSource>
                <asp:GridView ID="GridViewAllNews" runat="server" AutoGenerateColumns="False" DataSourceID="ObjectDataSource1"
                    AllowPaging="True" PageSize="5" OnRowCreated="GridViewAllNews_RowCreated" BorderWidth="0"
                    BorderColor="#E5ECF9" GridLines="None">
                    <Columns>
                        <asp:TemplateField>
                            <ItemTemplate>
                                <div class="photo-shadow">
                                    <asp:Image ID="Image1" runat="server" ImageUrl='<%# "images/" + (string)Eval("ImageUrl") %>'
                                        AlternateText='<%# (string)Eval("ImageAltText")%>' Width="200" Height="160" CssClass="photo-float-left photo-border" /></div>
                                <h2>
                                    <%# Eval("FirstName").ToString() + " " +  Eval("MiddleName").ToString() + " " + Eval("LastName").ToString() %>
                                </h2>
                                <h3>
                                    <i>
                                        <%# Eval("Title")%>
                                    </i>
                                </h3>
                                <p>
                                    <%# Eval("Description")%>
                                </p>
                                <ul>
                                    <li>Phone:
                                        <%#Eval("Phone")%>
                                    </li>
                                    <li>Fax:
                                        <%#Eval("Fax")%>
                                    </li>
                                    <li>Email:
                                        <%# Eval("Email")%>
                                    </li>
                                </ul>
                                <p />
                                <hr />
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <PagerSettings Mode="NumericFirstLast" Position="TopAndBottom" />
                </asp:GridView>
            </div>
            <!-- END MAIN COLUMN -->
            <!--

  CONTENT SIDE 2 COLUMN

  -->
            <div class="clear">
            </div>
        </div>
        <div id="content-bottom-three-column">
        </div>
    </body>
</asp:Content>
